From: Jasper St. Pierre Date: Tue, 19 Nov 2013 23:11:22 +0000 (-0500) Subject: shell-app: Remove unused method X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3044 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=913739d7320dfb7d21a371e158b70e4b57c71633;p=gnome-shell.git shell-app: Remove unused method --- diff --git a/src/shell-app.c b/src/shell-app.c index 487268d1f..63f9bc76f 100644 --- a/src/shell-app.c +++ b/src/shell-app.c @@ -1336,25 +1336,6 @@ unref_running_state (ShellAppRunningState *state) g_slice_free (ShellAppRunningState, state); } -static char * -trim_exec_line (const char *str) -{ - const char *start, *end, *pos; - - if (str == NULL) - return NULL; - - end = strchr (str, ' '); - if (end == NULL) - end = str + strlen (str); - - start = str; - while ((pos = strchr (start, '/')) && pos < end) - start = ++pos; - - return g_strndup (start, end - start); -} - /** * shell_app_compare_by_name: * @app: One app